﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001499 RID: 5273
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockPhoneThemeScNotify : IMessage<UnlockPhoneThemeScNotify>, IMessage, IEquatable<UnlockPhoneThemeScNotify>, IDeepCloneable<UnlockPhoneThemeScNotify>, IBufferMessage
	{
		// Token: 0x1700425B RID: 16987
		// (get) Token: 0x0600EBAF RID: 60335 RVA: 0x00275B24 File Offset: 0x00273D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockPhoneThemeScNotify> Parser
		{
			get
			{
				return UnlockPhoneThemeScNotify._parser;
			}
		}

		// Token: 0x1700425C RID: 16988
		// (get) Token: 0x0600EBB0 RID: 60336 RVA: 0x00275B2B File Offset: 0x00273D2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockPhoneThemeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700425D RID: 16989
		// (get) Token: 0x0600EBB1 RID: 60337 RVA: 0x00275B3D File Offset: 0x00273D3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockPhoneThemeScNotify.Descriptor;
			}
		}

		// Token: 0x0600EBB2 RID: 60338 RVA: 0x00275B44 File Offset: 0x00273D44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPhoneThemeScNotify()
		{
		}

		// Token: 0x0600EBB3 RID: 60339 RVA: 0x00275B4C File Offset: 0x00273D4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPhoneThemeScNotify(UnlockPhoneThemeScNotify other) : this()
		{
			this.themeId_ = other.themeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EBB4 RID: 60340 RVA: 0x00275B71 File Offset: 0x00273D71
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockPhoneThemeScNotify Clone()
		{
			return new UnlockPhoneThemeScNotify(this);
		}

		// Token: 0x1700425E RID: 16990
		// (get) Token: 0x0600EBB5 RID: 60341 RVA: 0x00275B79 File Offset: 0x00273D79
		// (set) Token: 0x0600EBB6 RID: 60342 RVA: 0x00275B81 File Offset: 0x00273D81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ThemeId
		{
			get
			{
				return this.themeId_;
			}
			set
			{
				this.themeId_ = value;
			}
		}

		// Token: 0x0600EBB7 RID: 60343 RVA: 0x00275B8A File Offset: 0x00273D8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockPhoneThemeScNotify);
		}

		// Token: 0x0600EBB8 RID: 60344 RVA: 0x00275B98 File Offset: 0x00273D98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockPhoneThemeScNotify other)
		{
			return other != null && (other == this || (this.ThemeId == other.ThemeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EBB9 RID: 60345 RVA: 0x00275BC8 File Offset: 0x00273DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ThemeId != 0U)
			{
				num ^= this.ThemeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EBBA RID: 60346 RVA: 0x00275C07 File Offset: 0x00273E07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EBBB RID: 60347 RVA: 0x00275C0F File Offset: 0x00273E0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EBBC RID: 60348 RVA: 0x00275C18 File Offset: 0x00273E18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ThemeId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.ThemeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EBBD RID: 60349 RVA: 0x00275C4C File Offset: 0x00273E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ThemeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ThemeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EBBE RID: 60350 RVA: 0x00275C8A File Offset: 0x00273E8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockPhoneThemeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ThemeId != 0U)
			{
				this.ThemeId = other.ThemeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EBBF RID: 60351 RVA: 0x00275CBB File Offset: 0x00273EBB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EBC0 RID: 60352 RVA: 0x00275CC4 File Offset: 0x00273EC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ThemeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005D47 RID: 23879
		private static readonly MessageParser<UnlockPhoneThemeScNotify> _parser = new MessageParser<UnlockPhoneThemeScNotify>(() => new UnlockPhoneThemeScNotify());

		// Token: 0x04005D48 RID: 23880
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D49 RID: 23881
		public const int ThemeIdFieldNumber = 6;

		// Token: 0x04005D4A RID: 23882
		private uint themeId_;
	}
}
